﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace WpfCodes
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
    }

    /// <summary>
    /// 自定义Application 入口类和方法
    /// </summary>
    public partial class MyApp : App
    {
        [System.STAThreadAttribute()]       //  必须加 STA 说明，否则运行报错。
        new public static void Main()
        {
            MyApp app = new MyApp();
            app.StartupUri = new Uri(PageList.getPage(pageList.Samples_BindingTest), UriKind.Relative);
            //app.InitializeComponent();
            app.Run();
        }
    }
}
